LWS\WOOREWARDS\Core\Sponsorship C

Total Complexity 105
Dependencies 4
Dependents 3
Total lines 469
Lines of code 339
Logical lines of code 211
Comment lines 53
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
getUsersFromOrder()
B
41 21 52
addRelationship()
A
44 15 37
getCurrentUsers()
A
49 11 32
onCustomerRegister()
S
50 7 26
forceUserSponsor()
S
54 6 20
isEligible()
S
60 6 11
getOrderCountByEMail()
S
51 4 28
getCurrentReferral()
S
61 5 11
userCan()
S
61 5 11
getSponsorIdFor()
S
57 4 17
guessSponsoredLanguage()
S
62 4 12
setCurrentReferral()
S
60 4 12
createReward()
S
53 3 21
getSponsorFor()
S
66 3 8
getOrderCountById()
S
60 2 13
register()
S
63 2 9
getReferralKeys()
S
69 1 7
clearCurrentReferral()
S
66 1 8
saveOrderSponsor()
S
75 1 4